<template>
  <div class="login-container">
    <el-row>
      <!-- logo图标 -->
      <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
        <div class="logo_box">
          <img src="../../assets/login_images/logo.png" alt />
        </div>
      </el-col>
      <!-- 展示文字 -->
      <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16">
        <div class="login_title">
          <p>全民消防“守护者”</p>
          <p style="text-align: right;">企业管理平台</p>
        </div>
      </el-col>
      <!-- 登录表单框 -->
      <el-col :xs="24" :sm="24" :md="24" :lg="8" :xl="8">
        <div class="login_title">
          <div class="login_box">
            <el-form label-width="70px">
              <div class="select_title">选择项目</div>
              <el-form-item style="margin-top: 30px;" label="施工单位">
                <el-select v-model="value" clearable placeholder="请选择施工单位" style="width:100%;">
                  <el-option
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  ></el-option>
                </el-select>
              </el-form-item>
              <el-form-item style="margin-top: 30px;" label="施工项目">
                <el-select v-model="value" clearable placeholder="请选择施工项目" style="width:100%;">
                  <el-option
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  ></el-option>
                </el-select>
              </el-form-item>
              <el-form-item style="margin-top: 30px;" label="施工工程">
                <el-select v-model="value" clearable placeholder="请选择施工工程" style="width:100%;">
                  <el-option
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  ></el-option>
                </el-select>
              </el-form-item>

              <el-button :loading="loading" class="login_btn">前往查看</el-button>
            </el-form>
          </div>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import { isPassword } from "@/utils/validate";

export default {
  name: "Login",
  data() {
    return {
      options: [
        {
          value: "选项1",
          label: "黄金糕",
        },
        {
          value: "选项2",
          label: "双皮奶",
        },
        {
          value: "选项3",
          label: "蚵仔煎",
        },
        {
          value: "选项4",
          label: "龙须面",
        },
        {
          value: "选项5",
          label: "北京烤鸭",
        },
      ],
      value: "",
    };
  },

  mounted() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
.login-container {
  height: 100vh;
  min-height: 600px;
  background: url("~@/assets/login_images/background.png") center center fixed
    no-repeat;
  background-size: cover;
  .logo_box {
    width: 100%;
    padding: 20px 20px 20px 50px;
    img {
      height: 110px;
    }
  }
  .login_title {
    margin-top: 50px;
    padding: 50px;
    p {
      padding: 20px 100px 20px 100px;
      font-weight: bold;
      font-size: 100px;
      font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
      color: #d41d31;
    }
  }
  .login_box {
    border: 1px solid #333;
    border-radius: 5px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 400px;
    margin: auto;
    padding: 50px 25px 100px 25px;
    .login_btn {
      margin-top: 20px;
      border: 1px solid red;
      background: #d41d31;
      width: 100%;
      color: #ffffff;
      font-size: 15px;
    }
  }
  .select_title {
    font-size: 17px;
    color: #999;
    padding: 5px;
    text-align: center;
  }
}
</style>
